<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>发送邮件案例(163和QQ)</title>
</head>
<body>
<form action="SendEmail/email" method="post" id="frm">
	<table border="1" background="red" bgcolor="green">
	    <tr>
			<td colspan="6" align="center"><strong>发件信息</strong></td>
		</tr>
		 <tr>
			<td>
				发件人邮箱：
			</td>
			<td>
				<input type="text" name="username"/>
			</td>
			<td>
				发件人邮箱密码：
			</td>
			<td>
				<input type="password" name="password"/>
			</td>
			<td>
				发件邮箱类型：
			</td>
			<td>
				<select name="selEmail">
				    <option value="163">163邮箱</option>
					<option value="qq">QQ邮箱</option>
				</select>
			</td>
		</tr>
		 
		<tr>
			<td colspan="6" align="center"><strong>发送邮件</strong></td>
		</tr>
		<tr>
			<td>
				收件人：
			</td>
			<td colspan="5">
				<input type="text" name="sendUsername"/>
			</td>
		</tr>
		<tr>
			<td>
				主题：
			</td>
			<td colspan="5">
				<input type="text" name="title"/>
			</td>
		</tr>
		<tr>
			<td>
				正文：
			</td>
			<td colspan="5">
				<textarea rows="10" cols="100" name="content"></textarea>
			</td>
		</tr>
		<tr>
			<td colspan="6" align="center">
				<input type="submit" value="发送"/>
			</td>
		</tr>
	</table>
	</form>
</body>

</html>